/*
 * @Description: 
 * @Author: fhw
 * @Date: 2022-12-26 13:52:12
 */
const productConfig = {
    accessKeyId: 'LTAI5tBc4frMWhF7ZMyQWvwa',
    accessKeySecret: 'KczT5BRzOAA7P8lC9QO28oYj1QqPn4',
    endpoint: 'oss-cn-guangzhou.aliyuncs.com',
    bucket: 'chat-master',
    region: 'oss-cn-guangzhou',
  };
   
  const localConfig = {
    accessKeyId: 'LTAI5tBc4frMWhF7ZMyQWvwa',
    accessKeySecret: 'KczT5BRzOAA7P8lC9QO28oYj1QqPn4',
    endpoint: 'oss-cn-guangzhou.aliyuncs.com',
    bucket: 'chat-master',
    region: 'oss-cn-guangzhou',
  };
   
  // 本地运行是没有 process.env.NODE_ENV 的，借此来区分[开发环境]和[生产环境]
  const ossConfig = process.env.NODE_ENV ? productConfig : localConfig;
   
  export default productConfig;